Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-827-pg-repos-validation #429

Merged
merged 16 commits into from
Feb 12, 2024
Merged

Conversation

oksana-grishchenko
Copy link
Contributor

@oksana-grishchenko oksana-grishchenko commented Feb 8, 2024

EVEREST-827 Powered by Pull Request Badge

PG repos amount validation

Problem:
EVEREST-827

PG cluster has the limitation - it must have no more than 4 repos defined. Each schedule is considered as a different repo, as well as any new bucket which wasn't in use before. Also we have a "technical" repo1 which is used to run the cluster and takes one slot, so the enduser can configure max 3 repos.

Solution:
Validate that there is no more than 3 schedule and no more than 3 different backup storages used

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

@oksana-grishchenko oksana-grishchenko marked this pull request as ready for review February 8, 2024 15:08
@oksana-grishchenko oksana-grishchenko requested a review from a user February 8, 2024 15:08
api/validation.go Outdated Show resolved Hide resolved
@oksana-grishchenko oksana-grishchenko enabled auto-merge (squash) February 12, 2024 07:24
@oksana-grishchenko oksana-grishchenko merged commit 3fac690 into main Feb 12, 2024
6 checks passed
@oksana-grishchenko oksana-grishchenko deleted the EVEREST-827-pg-repos-amount branch February 12, 2024 08:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants